package cn.lingyangwl.agile.misc.order;

import cn.lingyangwl.agile.misc.order.model.*;
import cn.lingyangwl.agile.misc.order.service.*;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author shenguangyang
 */
@Service
@Primary
public class OrderApiImpl implements OrderApi {
    @Resource
    private OrderService orderService;

    @Override
    public void saveOrder(OrderSaveReq req) {
        orderService.saveOrder(req);
    }
}
